package com.liohi.service.impl;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.liohi.entity.Menu;
import com.liohi.service.MenuService;
import com.liohi.mapper.MenuMapper;
import org.springframework.stereotype.Service;

import java.util.List;

/**
* @author liohi
* @description 针对表【menu】的数据库操作Service实现
* @createDate 2023-08-02 15:10:31
*/
@Service
public class MenuServiceImpl extends ServiceImpl<MenuMapper, Menu>
    implements MenuService{
    @Override
    public List<Menu> getMenusByIds(List<Integer> ids) {
        List<Menu> menus = this.listByIds(ids);
        return menus;
    }

}




